package com.vil.mapper;

import com.vil.entity.Charge;
import com.vil.entity.Park;
import com.vil.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ParkMapper {
    int deleteByPrimaryKey(Long id)throws  Exception;

    int insert(Park record)throws  Exception;

    int insertSelective(Park record)throws  Exception;

    Park selectByPrimaryKey(Long id)throws  Exception;

    int updateByPrimaryKeySelective(Park record)throws  Exception;

    int updateByPrimaryKey(Park record)throws  Exception;
    List<Park> getListByManyConditions(Park recode)throws  Exception;
    //批量删除
    int deleteMany(Long[] array)throws  Exception;
}